package com.hmy.contract.client.contract;

import com.hmy.ccp.common.result.FeignResult;
import com.hmy.contract.bo.request.contract.SupplyContractInfoListRequest;
import com.hmy.contract.bo.response.contract.SupplyContractInfoListResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author wenjian
 * @version 1.0
 * @description 增补合同管理feign客户端
 * @date 2024/03/26
 */
@FeignClient("hmy-contract")
public interface SupplyContractClient {
    
    /**
     * 条件查询合同列表
     *
     * @param contractInfoListRequest
     * @return
     */
    @PostMapping("/feign/supplyContract/supplyContractInfoList")
    FeignResult<SupplyContractInfoListResponse> supplyContractInfoList(@RequestBody SupplyContractInfoListRequest contractInfoListRequest);
    
}
